package com.zy.pay.api.response;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 关闭订单返回参数 <br>
 *
 * @author panweiqiang <br>
 * @date 2020/7/7 9:27 <br>
 */
public class ZyPayOrderColseResponse extends ZyPayResponse {

    /**
     * 商户订单号
     */
    @JSONField(name = "cp_tran_no")
    private String  cpTranNo;

    /**
     * 请求后订单的实际状态代码
     * 1-等待支付
     * 2-支付成功
     * 3-支付失败
     * 4-订单关闭
     * 即状态为4表示关闭成功
     */
    @JSONField(name = "tran_state")
    private Integer tranState;

    public String getCpTranNo() {
        return cpTranNo;
    }

    public void setCpTranNo(String cpTranNo) {
        this.cpTranNo = cpTranNo;
    }

    public Integer getTranState() {
        return tranState;
    }

    public void setTranState(Integer tranState) {
        this.tranState = tranState;
    }
}
